package com.redoor.app.stake.workflow.dao;

import com.redoor.app.stake.workflow.model.BaseWorkorderOperationLog;
import com.redoornetwork.framework.mybatis.mapper.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BaseWorkorderOperationLogMapper extends Mapper<BaseWorkorderOperationLog> {
    /**  
     *  批量添加操作记录到数据库  
     *   
     * @author ZhangMumu  
     * @date 2018/4/17 0017 17:40  
     * @param list
     * @return int
     */  
    int batchInsert(List<BaseWorkorderOperationLog> list);
    /**  
     *  获取工单操作日志列表  
     *   
     * @author ZhangMumu  
     * @date 2018/4/17 0017 21:04  
     * @param workOrderUuid  
     * @return   
     */  
    List<BaseWorkorderOperationLog> getWorkOrderLogList(String workOrderUuid);


}